﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>layDate Demo</title>
<script src="laydate/laydate.js"></script>
</head>
<body>
    <input placeholder="请输入日期" class="laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" />
    <input placeholder="请输入日期" class="laydate-icon" onclick="laydate({istime: false, format: 'YYYY-MM-DD'})" />
<script>
!function(){
laydate.skin('huanglv');
}();
</script>
</body>
</html>